package com.qqtech.qquan.sys.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class SysFunction extends BaseDomain{

	//columns START
    /** 创建人id */
	private java.lang.Integer creatorId;
    /** 名称 */
	private java.lang.String name;
    /** 上级id */
	private java.lang.Integer parentId;
    /** 备注 */
	private java.lang.String remark;
    /** 排序 */
	private java.lang.Integer oidx;
    /** 状态:0-启用;1-禁用 */
	private java.lang.Integer status;
    /** 类型:1-目录;2-叶子 */
	private java.lang.Integer type;
    /** 链接正则表达式 */
	private java.lang.String url;
	//columns END
	public SysFunction(){
	}

	public SysFunction( java.lang.Integer id ){
		this.id = id;
	}

	public void setCreatorId(java.lang.Integer creatorId) {
		this.creatorId = creatorId;
	}

	public java.lang.Integer getCreatorId() {
		return this.creatorId;
	}
	
	public void setName(java.lang.String name) {
		this.name = name;
	}

	public java.lang.String getName() {
		return this.name;
	}
	
	public void setParentId(java.lang.Integer parentId) {
		this.parentId = parentId;
	}

	public java.lang.Integer getParentId() {
		return this.parentId;
	}
	
	public void setRemark(java.lang.String remark) {
		this.remark = remark;
	}

	public java.lang.String getRemark() {
		return this.remark;
	}
	
	public void setOidx(java.lang.Integer oidx) {
		this.oidx = oidx;
	}

	public java.lang.Integer getOidx() {
		return this.oidx;
	}
	
	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}
	
	public void setType(java.lang.Integer type) {
		this.type = type;
	}

	public java.lang.Integer getType() {
		return this.type;
	}
	
	public void setUrl(java.lang.String url) {
		this.url = url;
	}

	public java.lang.String getUrl() {
		return this.url;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

